<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
?>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">

		<meta charset="UTF-8">
		<title>跳转提示</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="跳转提示" />
		<meta name="Description" content="跳转提示" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
		<meta name="format-detection" content="telephone=no">
		<tc_include file="Public:head" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc/Home/User/css/user.css" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc/Home/User/css/user_common.css" />
		<style type="text/css">
			.user-right .tabmenu {
				margin-bottom: 0;
			}
			.success,.error{font-size: 17px;font-weight: 800;}
			.success{background: url(/themes/wnsc/Home/User/images/success.png) no-repeat left 6px; width: 399px; margin: 0 auto;background-size: 44px;height: 51px;line-height: 30px;text-align: left;padding: 0 0 0 60px;}
			.error{background: url(/themes/wnsc/Home/User/images/warning.png) no-repeat left 6px;width: 399px; margin: 0 auto;background-size: 44px;height: 51px;line-height: 30px;text-align: left;padding: 0 0 0 60px;}
			.jump{width: 341px;margin: 0 auto;text-align: left;position: relative;top: -15px;}
		</style>
	</head>

	<body>
		<tc_include file="Public:nav" />
		<div class="w1210" style="text-align: center; padding: 140px 0;">

			<present name="message">
				<p class="success">
					<?php echo($message); ?>
				</p>
				<else/>
				<p class="error">
					<?php echo($error); ?>
				</p>
			</present>
			<p class="jump">
				页面自动
				<a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b>&nbsp;秒
			</p>
		</div>
		<script type="text/javascript">
			(function(){
			var wait = document.getElementById('wait'),href = document.getElementById('href').href;
			var interval = setInterval(function(){
				var time = --wait.innerHTML;
				if(time <= 0) {
					location.href = href;
					clearInterval(interval);
				};
			}, 1000);
			})();
		</script>
		<tc_include file="Public:footer" />
	</body>

</html>